package com.mxchip.livestarmobile.mobile.util.widget.opengl.util;

import android.util.DisplayMetrics;

import com.mxchip.livestarmobile.mobile.Appli;

public class DisplayUtil {
    public static int getScreenWidth( ){

        DisplayMetrics metrics = Appli.getContext().getResources().getDisplayMetrics();
        return metrics.widthPixels;
    }

    public static int getScreenHeight( ){
        DisplayMetrics metrics = Appli.getContext().getResources().getDisplayMetrics();
        return metrics.heightPixels;
    }
}
